package com.biz.primus.ms.homepage.service;


import com.biz.primus.homepage.vo.CoverTemplateData;
import com.biz.primus.homepage.vo.ProgramDetailRespVo;
import com.biz.primus.homepage.vo.ProgramRoVo;
import com.biz.primus.homepage.vo.ProgramUpdateReqVo;

import java.util.List;

/**
 * Created by jiangnan on 2017/7/12.
 */
public interface ProgramServerService {

    ProgramDetailRespVo getProgramDetail(Long programId);

    ProgramRoVo findOne(Long programId);

    ProgramRoVo save(ProgramUpdateReqVo reqVo);

    List<ProgramRoVo> getAllProgramsByCoverId(String coverId);

    void deleteProgramsByCoverId(String coverId);

    void delete(Long programId);

    CoverTemplateData getCoverTemplateDataByCoverId(String coverId, Boolean enableAllProgram);
}
